﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrintAuto.aspx.cs" Inherits="IYAKASAPortal.PrintAll.PrintAuto" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>自动打印</title>
    <link rel="stylesheet" href="../support/tfNiceTable/tfNiceTable.css"/>
    <script type="text/javascript" src="../script/jquery-3.2.1.min.js"></script>
 <script type="text/javascript" src="wfPrint.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#btnStart").click();
        });
    </script>
</head>
<body style="overflow-y:auto">
<form id="form2" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
    <div >
     <table border="0" width="100%" cellpadding="0" cellspacing="0" style="height:25px;">
    <tr>
        <td class="main_title_left"></td>
        
        <td class="main_title_center">&nbsp;成都弥荣科技发展有限公司--自动打印报告单</td>
        <td class="main_title_right"></td>
    </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="mainWidth">
    <tr>
        <td align="center">
        <table border="1" cellspacing="0" cellpadding="3" class="tfNiceTable">
        <thead>
            <tr class="tfNiceTable_head_style">
                <td align="left">★自动打印报告单</td>
            </tr>
        </thead>
        <tbody style="background-color:white;">
        <tr>
            <td  align="left">
                <div style="padding-left:100px;">
                    <asp:Button runat="server"  ID="btnStart" Text="" CssClass="btnStart"  OnClick="btnStart_Click"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button runat="server"  ID="btnStop" Text="" CssClass="btnStop" OnClick="btnStop_Click"/>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;检测线号<asp:TextBox runat="server" ID="txtLineNum" CssClass="csstextbox"></asp:TextBox>
                </div>
            </td>
              </tr>
             <tr>
            <td  align="left">
                   <asp:Timer ID="Timer1" runat="server" Enabled="false" Interval="3000" OnTick="Timer1_Tick">
                   </asp:Timer>
                   <asp:ListBox runat="server" ID="lstMessage" Width="100%" Height="500px"></asp:ListBox>
            </td>
        </tr>
            </tbody>
            </td>
        </tr>
    </table>
    </div>
</ContentTemplate>

</asp:UpdatePanel>

 

</form>

</body>
</html>
